Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't commit for read-only query #44905

Merged
merged 2 commits into from
Dec 14, 2024

Conversation

uranusjr
Copy link
Member

No description provided.

@uranusjr
Copy link
Member Author

Why are those things failing…

@uranusjr uranusjr force-pushed the no-create-session-in-resolve-asset branch from 98becc2 to 064cede Compare December 13, 2024 10:02
@uranusjr
Copy link
Member Author

I don’t know why it failed, but I found a way that works.

@uranusjr uranusjr force-pushed the no-create-session-in-resolve-asset branch from 064cede to 95f7443 Compare December 13, 2024 10:16
This does not use the create_session/provide_session/NEW_SESSION
paradigm because it requires importing them globally, which is not
allowed in the SDK. We also do not want to create a session unless
absolutely needed.
@uranusjr uranusjr force-pushed the no-create-session-in-resolve-asset branch from 95f7443 to 6ccc74a Compare December 13, 2024 12:15
@Lee-W Lee-W merged commit 4675389 into apache:main Dec 14, 2024
67 checks passed
@Lee-W Lee-W deleted the no-create-session-in-resolve-asset branch December 14, 2024 01:59
LefterisXefteris pushed a commit to LefterisXefteris/airflow that referenced this pull request Jan 5, 2025
* Don't commit for read-only query

* Pass session from outside when we can

This does not use the create_session/provide_session/NEW_SESSION
paradigm because it requires importing them globally, which is not
allowed in the SDK. We also do not want to create a session unless
absolutely needed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants